load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")

swift_library(
    name = "ChatMessageInteractiveMediaNode",
    module_name = "ChatMessageInteractiveMediaNode",
    srcs = glob([
        "Sources/**/*.swift",
    ]),
    copts = [
        "-warnings-as-errors",
    ],
    deps = [
        "//submodules/AsyncDisplayKit",
        "//submodules/Postbox",
        "//submodules/SSignalKit/SwiftSignalKit",
        "//submodules/Display",
        "//submodules/ComponentFlow",
        "//submodules/TelegramCore",
        "//submodules/TelegramPresentationData",
        "//submodules/TelegramUIPreferences",
        "//submodules/MediaPlayer:UniversalMediaPlayer",
        "//submodules/TextFormat",
        "//submodules/AccountContext",
        "//submodules/RadialStatusNode",
        "//submodules/StickerResources",
        "//submodules/PhotoResources",
        "//submodules/TelegramUniversalVideoContent",
        "//submodules/TelegramStringFormatting",
        "//submodules/GalleryUI",
        "//submodules/AnimatedStickerNode",
        "//submodules/TelegramAnimatedStickerNode",
        "//submodules/LocalMediaResources",
        "//submodules/WallpaperResources",
        "//submodules/ChatMessageInteractiveMediaBadge",
        "//submodules/ContextUI",
        "//submodules/InvisibleInkDustNode",
        "//submodules/TelegramUI/Components/ChatControllerInteraction",
        "//submodules/TelegramUI/Components/Stories/StoryContainerScreen",
        "//submodules/TelegramUI/Components/Chat/ChatMessageDateAndStatusNode",
        "//submodules/TelegramUI/Components/Chat/ChatHistoryEntry",
        "//submodules/TelegramUI/Components/Chat/ChatMessageItemCommon",
        "//submodules/TelegramUI/Components/WallpaperPreviewMedia",
        "//submodules/TelegramUI/Components/TextNodeWithEntities",
        "//submodules/TelegramUI/Components/Gifts/GiftItemComponent",
        "//submodules/Utils/RangeSet",
        "//submodules/MediaResources",
        "//submodules/UIKitRuntimeUtils",
    ],
    visibility = [
        "//visibility:public",
    ],
)
